package com.py.feign.service.impl;

import com.py.feign.service.FeignServiceHello;
import org.springframework.stereotype.Component;

@Component
public class FeignServiceHelloCircuitBreaker implements FeignServiceHello {
    @Override
    public String sayHelloFromClientOne(String name) {
        return "sorry" + name;
    }

    @Override
    public String hello(String name) {
        return "2";
    }
}
